import request from '@/utils/request'

// 新增加班申请
export function createOaOvertime(data) {
  return request({
    url: '/bpm/oa-overtime/create',
    method: 'post',
	data
  })
}

// 获取加班列表
export function getOaOvertimePage(data) {
  return request({
    url: '/bpm/oa-overtime/page',
    method: 'get',
	data
  })
}

// 获取加班详情
export function getOaOvertime(data) {
  return request({
    url: '/bpm/oa-overtime/get',
    method: 'get',
	data
  })
}

// 查询加班申请详情
  // getOaOvertime: async (id: number) => {
  //   return await request.get({ url: `/bpm/oa-overtime/get?id=` + id })
  // },

